package com.example.telesys.dto;


public class UpdatePasswordDTO {
    private String username;
    private String oldpassword;
    private String firstnewpassword;
    private String secondnewpassword;

    public UpdatePasswordDTO() {
    }

    public UpdatePasswordDTO(String username, String firstnewpassword, String secondnewpassword) {
        this.username = username;
        this.firstnewpassword = firstnewpassword;
        this.secondnewpassword = secondnewpassword;
    }

    public String getOldpassword() {
        return oldpassword;
    }

    public void setOldpassword(String oldpassword) {
        this.oldpassword = oldpassword;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getFirstnewpassword() {
        return firstnewpassword;
    }

    public void setFirstnewpassword(String firstnewpassword) {
        this.firstnewpassword = firstnewpassword;
    }

    public String getSecondnewpassword() {
        return secondnewpassword;
    }

    public void setSecondnewpassword(String secondnewpassword) {
        this.secondnewpassword = secondnewpassword;
    }

    @Override
    public String toString() {
        return "UpdatePasswordDTO{" +
                "username='" + username + '\'' +
                ", oldpassword='" + oldpassword + '\'' +
                ", firstnewpassword='" + firstnewpassword + '\'' +
                ", secondnewpassword='" + secondnewpassword + '\'' +
                '}';
    }
}

